 
import com.mongodb.BasicDBObject;
 
/**
 *
 * @author Code4LifeVn
 */
public interface ModelConverter<T extends PhoneBook> {
    public T convertBasicObjectToModel(BasicDBObject object);
 
    public BasicDBObject convertModelToBasicObject(T model);
}